package com.itheima.dao;

import pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    long findCountByOrderDate(Date orderDate);
    
    void editNumberByOrderDate(OrderSetting orderSetting);
    
    void add(OrderSetting orderSetting);
    
    List<OrderSetting> getOrderSettingByMonth(Map map);
    
    OrderSetting  findByOrderDate(Date orderDate);
    
    long findNumberByDate(Date orderDate);
    
    long findReservationsByDate(Date orderDate);
    
    void updateReservations(OrderSetting orderSetting);
}
